#include "stdafx.h"
#include "Track62.h"

unsigned short Track62::GetTrackNumber()
{
	if(DI040.Isset())
	{
		return DI040;
	}
	return 0;
}

void Track62::SetTrackNumber(unsigned short p_TrackNumber)
{
	DI040 = p_TrackNumber;
	if(p_TrackNumber!=0)
	{
		DI040.Set();
	}
	else
	{
		DI040.Unset();
	}
}

bool Track62::IsDeleteMessage()
{
	return (DI080.Isset() && (DI080.Tse==1));
}

void Track62::SetAsDeleteMessage()
{
	DI080.Tse = 1;
	DI080.Set();
}
